package com.example.demo;

import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2023-10-12
 * Time:14:37
 */
@Component
public class Task implements Student{

    public void before1() {
        System.out.println("前置通知：--打开书本、预习听老师讲课--做笔记、完成课堂练习");
    }
    public void around1() {
        System.out.println("环绕通知：准备上课");
    }
    @Override
    public void Study() {
        System.out.println("学生：课堂学习");
    }
    public void around2() {
        System.out.println("环绕通知：上课结束");
    }
    public void after1() {
        System.out.println("后置通知：上课结束--收拾书包、带走垃圾");
    }
    public void before2() {
        System.out.println("前置通知:准备做家庭作业--复习今天课堂所学知识");

    }
    public void around3() {
        System.out.println("环绕通知：准备就绪，开始家庭作业");
    }
    @Override
    public void HomeWork() {
        System.out.println("学生：做家庭作业");
    }
    public void around4() {
        System.out.println("环绕通知：完成家庭作业--收拾书本");
    }
    public void after2() {
        System.out.println("后置通知：开始做家庭作业--打开作业本、写作业、检查改错、预习");
    }



}
